<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>获取当前访问服务内容</title>
</head>
<body>

	<?php 
		echo "<pre>";
		print_r($_SERVER);
		echo "</pre>";
	 ?>

	 
	<?php
	echo "<table border='1'>";
	
		foreach ($_SERVER as $key => $value) {
			echo "<tr>";
			echo "<td>$key</td>";
			echo "<td>$value</td>";
			echo "</tr>";
		}
	
	echo "</table>";
	?>
</body>
</html>